import request from '@/utils/request'


// 添加负面清单
export function addNegativeKey(data){
    return request({
        url: "/negative/add",
        method: "post",
        data:data
    })
}

// 查询负面清单
export function selectNegativeKey(data){
    return request({
        url: "/negative/list/" + data,
        method: "get"
    })
}

// 删除负面清单
export function deleteNegativeKey(data){
    return request({
        url: "/negative/delete/" + data,
        method: "get",
    })
}

// 修改负面清单
export function updateNegativeKey(data){
    return request({
        url: "/negative/update",
        method: "put",
        data:data
    })
}